package diseaseandcureadministration.cure;

/**
 * ICureCreator defines a factory for returning cures
 * 
 * Note: An interface for a factory in this context 
 * is a bit redundant, but for the factory to be a 
 * proper Factory Pattern the factory must be abstract
 * 
 * @author Peter Tolstrup Aagesen, ptaa@itu.dk
 *
 */
public interface ICureCreator {
	
	/**
	 * getCure returns a Cure by name
	 * @param name cure name
	 * @return a cure if there exists a cure by the specified name, otherwise null
	 */
	Cure getCure(String name);
}
